package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司账单对象 corp_transaction_record
 * 
 * @author ruoyi
 * @date 2025-01-08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CorpTransactionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long id;

    /** 转账金额 */
    @Excel(name = "转账金额")
    private String money;

    /** 客户 */
    @Excel(name = "客户")
    private Long customer;
    @Excel(name = "客户名")
    private SysUser customerName;
    /** 公司 */
    @Excel(name = "公司")
    private Long company;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;
    /** 交易时间 */
    private String trsndssctionTime;

    /** 转入0或者转出1 */
    @Excel(name = "转入0或者转出1")
    private Integer act;

    /** 删除 */
    private String del;

    public CorpTransactionRecord(Long id, String money, Long customer, Long company, String notes, String trsndssctionTime, Integer act, String del) {
        this.id = id;
        this.money = money;
        this.customer = customer;
        this.company = company;
        this.notes = notes;
        this.trsndssctionTime = trsndssctionTime;
        this.act = act;
        this.del = del;
    }
}
